const mongoose = require('../../mongoose')

const adminSchema = mongoose.Schema({
  // id: {
  //   type: String
  // },
  name: {
    type: String,
    index: true,
    unique: true,
    required: true
  },
  userPwd: {
    type: String,
    required: true
  }
})

module.exports = mongoose.model('admin', adminSchema)
